<?php
	$id = $_POST['id'];
	$resi = $_POST['resi'];
	$status = $_POST['status'];
	
	if(isset($_POST['submit'])){
		$sttmt = $koneksi->exec("update orders set resi='$resi', id_status=$status where id_orders='$id'");
	}
	
	$url_sukses='utama.php?module=mod_order';
	if($sttmt){
		echo "<meta http-equiv='refresh' content='0; url=$url_sukses'>";
		exit;
	}else{
		echo mysql_error();
	}
?>